{extend name="base"}
{block name="title"}临时战绩查询{/block}
{block name="head"}
<style>
  .border-table tbody th{text-align:center; color:#333; font-weight:400; padding-left:5px;}
  .border-table{font-size:14px; color:#666;}
</style>
{/block}
{block name="body"}
<body class="mainbody">
<form>
  <!--导航栏-->
  <div class="location">
    <a href="javascript:history.back(-1);" class="back"><i class="iconfont icon-up"></i><span>返回上一页</span></a>
    <a href="{:url('index/home')}" class="home"><i class="iconfont icon-home"></i><span>首页</span></a>
    <i class="arrow iconfont icon-arrow-right"></i>
    <span>临时战绩查询</span>
  </div>
  <!--/导航栏-->

  <!--工具栏-->
  <div id="floatHead" class="toolbar-wrap">
    <div class="toolbar">
      <div class="box-wrap">
        <a class="menu-btn"><i class="iconfont icon-more"></i></a>
        <div class="l-list">
          <div class="menu-list">
            <div class="rule-single-select">
              <select name="Channel" style="display:none">
                <option value="-1">===所有渠道===</option>
                {volist name="CHANNELS" id="val"}
                <option value="{$key}"{eq name="Channel" value="$key"} selected{/eq}>[{$key}]{$val.Name}</option>
                {/volist}
              </select>
            </div>
            <input type="text" class="input txt" autocomplete="off" name="search" value="{$search|default=''|htmlentities}" placeholder="房间号" />
            <a class="btn-search"><i class="iconfont icon-search"></i></a>
          </div>
        </div>
      </div>
    </div>
  </div>
  <!--/工具栏-->

  <!--列表-->
  <div class="table-container">
    <table class="border-table ltable" style="text-align: center;">
      <tr>
        <th>#</th>
        <th>渠道标识</th>
        <th>游戏服务</th>
        <th>房间号</th>
        <th>小局数</th>
        <th>起始时间</th>
        <th>结束时间</th>
      </tr>
      {empty name="list"}
      <tr><td colspan="5">Oh~暂无数据!</td></tr>
      {else}
      {volist name="list" id="v"}
      <tr>
        <td>{$v.ROW_NUMBER}</td>
        <td>{$v.Channel}</td>
        <td>{$v.ServerName}</td>
        <td><a target="_blank" href="{:url('detail')}?RoomID={$v.RoomID}&GroupID={$v.GroupID}">{$v.RoomID}</a></td>
        <td>{$v.TotalPlay}</td>
        <td>{$v.TimeStart}</td>
        <td>{$v.TimeEnd}</td>
      </tr>
      {/volist}
      {/empty}
    </table>
  </div>
  <!--/列表-->

  <!--内容底部-->
  <div class="page-footer"><div class="btn-wrap">{$list->render()}</div></div>
  <!--/内容底部-->

</form>
</body>
{/block}